package id.net.iconpln.bb.client.service;

import id.net.iconpln.bb.client.model.BbEntryJadwalBean;
import id.net.iconpln.bb.client.model.BbEntryPasokanBean;
import id.net.iconpln.bb.client.model.BbEntryTransportirBean;
import id.net.iconpln.bb.client.model.BbMasterPemasokBean;
import id.net.iconpln.bb.client.model.BbMstPembangkitBean;
import id.net.iconpln.bb.client.model.BbMstSurveyorBean;
import id.net.iconpln.bb.client.model.BeanMasterModul;
import id.net.iconpln.bb.client.model.BeanModelMasterBb;
import id.net.iconpln.bb.client.model.BeanModelPerencanaanBb;
import id.net.iconpln.bb.client.model.Customer;
import id.net.iconpln.bb.client.model.PageBbRakorPKSBean;
import id.net.iconpln.bb.client.model.PbBean;
import id.net.iconpln.bb.client.model.UserBean;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("bbonline")
public interface BatubaraService extends RemoteService {
	List<PbBean> GetPasangBaru(String unitup, String trx);
	String GetPbDetail(String unitup, String trx, Date tglawal, Date tglakhir);
	List<Customer> getCustomers();
	List<UserBean> ipBrowser();
	String logout();
	String setDashThnBln(String tahunbln);

	List<BeanMasterModul> getMasterModul();
	List<BeanModelMasterBb> getListMasterBb(String codeMaster);
	List<BeanModelPerencanaanBb> getListPerencanaanBb(String id_pltu);
//	List<Map> getListComboPerencanaanBb();
	List<BbMstPembangkitBean> getkitall();
	List<BbMasterPemasokBean> getpemasokall();
	List<BbEntryJadwalBean> getjadwalall();
	List<PageBbRakorPKSBean> getrakorall();
	List<BbMstSurveyorBean> getsurveyorall();
	List<BbEntryTransportirBean> gettransall();
	List<BbEntryPasokanBean> getpasokanall();
	List<BeanModelMasterBb> insertMasterBB(BeanModelMasterBb beanModelMasterbb,String codeMaster,String crud);
	
	
	List<Map> getListPengendalianBb(String kode, Map map);
	List<Map> insertBbPengendalian(String kode, Map map);
	List<Map> getListpltu_rakor(String kode, Map map);
	List<Map> getListpemasok_rakor(String kode, Map map);
	List<Map> setRelationRakor(String kode, Map map);
	
	
}	
